<?php echo doctype('xhtml1-strict'); ?>
<?php $CI =& get_instance();
//$CI->load->model('Directory_company_model');
if($this->uri->segment(2)=='directory'){
$company_slug_name = $this->uri->segment(2);
if($company_slug_name){
$company_detail = $this->Directory_company_model->get_company_by_slug($company_slug_name);
}
}
if($company_detail != '')
{
   
	
	$title = $company_slug_name. ' - agencies directory ';
	
	$page_description = $company_detail['company_description'];
	
	 $print_services = $this->Directory_company_model->get_company_services_orderbytype($company_detail['id']);
	 
	 $page_keywords  = 'escort services ' ;
	 
	 $count = 0;
	 foreach($print_services as $rows)
	 {
		 if($rows->service_type == "print")
		 {
			  		$page_keywords .= $rows->name." ";
					
		 }
		 
		if($rows->service_type == "web")
		{
			if($count == 0)
				$page_keywords  .= 'web design services ' ;
				
			$page_keywords .= $rows->name." ";
			$count++;
		}
	 }
	 
	 
}
else
{
	
		$title = '';
		$page_description = '';
		$page_keywords = '';
	
}
    
 $CI->load->library("front/header_lib");

    $title = $title." - ".SITE_TITLE;;
	$metakey_page = $page_keywords;
    $metadesc_page = $page_description;  

$CI->header_lib->display_header_element(array("script"=>array("jquery-1.4.2"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$datas['active_mene_home'] = 1;
$CI->header_lib->display_header($datas);

if($this->uri->segment(2)=='directory'){
?>
  <!-- header -->

<div id="container_wrapper">
<div class="body_section" id="body_container">
<?php } /* if(empty($no_breadcrumb)){ ?>
<?php if(!empty($breadcrumb_list)){ ?>
  <div class="bread"><?php echo get_the_breadcrumb($breadcrumb_list); ?></div>
<?php }
}*/
?>
  <!-- bread -->
